<?php
return array(
	'cascade' => array(
		'districts', 
	),
	
	'rules' => array(
		array('name', 'required'),
		array('name', 'unique'),
	),
	
	'attributeLabels' => array(
		'districts' => '绑定信息',
		'name' => '名称'
	),
	
	'relations' => array(
		'districts' => array(ActiveRecord::HAS_MANY, 'BusinessDistrictRelation','business_id'),
	),
	
	'_import' => array(
		array('*', 'models.ActiveRecord//*'),
	),
);